﻿using AutoMapper;
using BCDto.TMS.HorsemanFreightExtention;
using BCEntity.TMS.HorsemanFreightExtention;

namespace BCService.MapperProfiles.TMS.HorsemanFreightExtentionService
{
    public class HorsemanFreightExtentionServiceProfile:Profile
    {
        public HorsemanFreightExtentionServiceProfile()
        {
            CreateMap<HorsemanFreightExtentionRequestDto, HorsemanFreightExtentionEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<HorsemanFreightExtentionEntity, HorsemanFreightExtentionDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<HorsemanFreightExtentionViewEntity, HorsemanFreightExtentionViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<HorsemanFreightExtentionPutDto, HorsemanFreightExtentionEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
